<div  class="am-u-sm-12 widget" style="margin:10px ;">
	<form class="am-form-inline tpl-form-border-form" method="get" action="">
		<div class="am-u-sm-12" style="margin-bottom: 10px;">
			<div class="am-form-group am-u-sm-3">
				<label class="am-u-sm-4 am-form-label am-text-truncate">车牌号:</label>
				<div class="am-u-sm-8">
					<input type="hidden" class="CarId" name="car_id" value="{$Think.get.car_id}" />
					<input type="text" class="am-form-field tpl-form-no-bg  car_number" style="line-height: 21px;" value="{$item.number}" placeholder="点击选择车辆" readonly="">
				</div>
			</div>
			<div class="am-form-group am-u-sm-3">
				<label class="am-u-sm-4 am-form-label am-text-truncate">保险公司:</label>
				<div class="am-u-sm-8">
					<input type="text" name="insurance_company" class="tpl-form-input" value="{$Think.get.insurance_company}" placeholder="请输入保险公司名称">
				</div>
			</div>
			<div class="am-form-group am-u-sm-3">
				<label class="am-u-sm-4 am-form-label am-text-truncate">保险种类:</label>
				<div class="am-u-sm-8">
					<select name="policy_type" data-am-selected="{btnWidth:'100%', btnSize: 'sm'}">
						<option value="0">不限险种</option>
						<option value="1">交通强制险</option>
						<option value="2">商业险</option>
					</select>
				</div>
			</div>
			<div class="am-u-sm-3 cl-p">
				<button type="submit" class="am-btn am-btn-sm am-btn-primary am-radius" style="margin-top: -2px;">查询</button>
				<button type="reset" class="am-btn am-btn-sm am-btn-primary am-radius" style="margin-top: -2px;">重置</button>
				<a href="{:url('add')}" class="am-btn am-btn-sm am-btn-primary am-radius" style="margin-top: -2px;">添加保险<a>
			</div>

		</div>
		<div class="am-u-sm-12">
			<div class="am-u-sm-6 cl-p">
				<div class="am-form-group am-u-sm-6">
					<label class="am-u-sm-4 am-form-label am-text-truncate">起始时间:</label>
					<div class="am-u-sm-8">
						<input type="text" name="start_date" class="am-form-field tpl-form-no-bg" value="{$Think.get.start_date}" placeholder="起始时间" data-am-datepicker="" readonly="">
					</div>
				</div>
				<div class="am-form-group am-u-sm-6">
					<label class="am-u-sm-4 am-form-label am-text-truncate">结束时间:</label>
					<div class="am-u-sm-8">
						<input type="text" name="end_date" class="am-form-field tpl-form-no-bg" placeholder="结束时间"  value="{$Think.get.end_date}" data-am-datepicker="" readonly="">
					</div>
				</div>
			</div>
			<div class="am-form-group am-u-sm-3">&nbsp;
				<!--<label for="user-name" class="am-u-sm-4 am-form-label am-text-truncate">车型:</label>
				<div class="am-u-sm-8">
					<input type="hidden" class="car_type_id" name="car_type_id" value="{$Think.get.car_type_id}" />
					<input type="text" class="am-form-field tpl-form-no-bg  car_type" style="line-height: 21px;" value="{$item.car_type}" placeholder="点击选择车型" readonly="">
				</div>-->
			</div>
			<div class="am-u-sm-3 cl-p" >
				
			</div>
		</div>
	</form>
	<div style="padding: 10px;" class="am-u-sm-12">
		<div><button style="float: right;" type="button" class="am-btn am-btn-default am-radius am-btn-xs" style="margin-top: -2px;">导出文件</button></div>
		<table width="100%" class="am-table am-table-compact am-text-nowrap tpl-table-black">
			<thead>
				<tr>
					<th>车牌号</th>
					<th>保险号</th>
					<th>投保人</th>
					<th>保险种类</th>
					<th>保险公司</th>
					<th>保险费用</th>
					<th>备注说明</th>
					<th>投保时间</th>
					<th>到期时间</th>
					<th>详细</th>
					{if $op == 'search'}
					{else/}
					<th>操作</th>
					{/if}
				</tr>
			</thead>
			<tbody>
				{foreach $list as $key => $item}
				<tr class="gradeX" data-id="{$item.car_insure_id}">
					<td><a href="{:url('car/detail',['car_id'=>$item['car_id'] ])}?insure=1">{$item.number}</a></td>
					<td>{$item.policy_number}</td>
					<td>{$item.policy_holder}</td>
					<td>{$item.policy_type}</td>
					<td>{$item.insurance_company}</td>
					<td>{$item.policy_charge}</td>
					<td>{$item.ps}</td>
					<td>{$item.start_date}</td>
					<td>{$item.end_date}</td>
					<td>
						<div class="tpl-table-black-operation">
							<a href="{:url('detail',['car_insure_id'=>$item['car_insure_id'] ])}">
								<i class="am-icon-pencil"></i> 查看详情
							</a>
						</div>
					</td>
					{if $op == 'search'}
					{else/}
					<td>
						<div class="tpl-table-black-operation">
							<a href="{:url('edit',['car_insure_id'=>$item.car_insure_id])}">
								<i class="am-icon-pencil"></i> 编辑
							</a>
							<a class="tpl-table-black-operation-del delete-list" data-method="delete">
								<i class="am-icon-pencil"></i> 删除
							</a>
						</div>
					</td>
					{/if}
				</tr>
				{/foreach}
				<!-- more data -->
			</tbody>
		</table>
		<div class="am-u-lg-12 am-cf">

			<div class="am-fr">
				{$pager}
			</div>
		</div>
	</div>

</div>